<%@ page language="java" import="Trial.TrialBean" pageEncoding="UTF-8"%>
<jsp:useBean id="myBean" class="Trial.TrialBean" scope="page" />
<jsp:setProperty property="*" name="myBean"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>My JSP 'ViewBean.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form method="get" name="form1">
    	<p>&nbsp;<input type="text" value="请输入姓名" name="_userName"></p>
    	<p>&nbsp;<input type="submit" value="Submit" name="btnSubmit"><input type="reset" value="Reset" name="btnReset"></p>
    	<p>&nbsp;</p>
    	<h1>Hello,<jsp:getProperty property="_userName" name="myBean" />!</h1>
    	<p>&nbsp;</p>
    	<p>&nbsp;</p>
    	</form>
    	</body>

  </body>
</html>
